package com.hqyj.javaSpringCloudTest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableDiscoveryClient  //针对注册机的类型不一定是eureka server
//@EnableEurekaClient   //只针对于eureka的server进行注册
public class JavaSpringCloudTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(JavaSpringCloudTestApplication.class, args);
    }

}
